Skip to content

Replace vulnerable ip package with native implementation#43

Merged
dannydulai merged 1 commit intoRoonLabs:masterfrom
davidmccoy:security/replace-ip-dependency
Feb 3, 2026
Merged

Replace vulnerable ip package with native implementation#43
dannydulai merged 1 commit intoRoonLabs:masterfrom
davidmccoy:security/replace-ip-dependency

Conversation

@davidmccoy
Copy link
Contributor

The ip package has known SSRF vulnerabilities (CVE-2023-42282, CVE-2024-29415) and is no longer maintained.

This package only uses ip.subnet().broadcastAddress for SOOD discovery. I replaced it with a simple native function, rather than a new dependency, since the codebase only needs IPv4 support. (E.g. it uses udp4 sockets and has a family == 'IPv4' filter.)

@dannydulai dannydulai merged commit 055dae6 into RoonLabs:master Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants